#include "UnionAffiliation.h"
#include "ServiceCharge.h"

UnionAffiliation::~UnionAffiliation()
{

}

UnionAffiliation::UnionAffiliation(double dues) : itsDues(dues)
{

}

double UnionAffiliation::GetDues()
{
	return itsDues;
}

void UnionAffiliation::AddServiceCharge(long date, double charge)
{
	itsCharges[date] = new ServiceCharge(date, charge);
}

ServiceCharge* UnionAffiliation::GetServiceCharge(long date)
{
	return itsCharges[date];
}